package com.example.yichuangyun.model.contacts;

import java.io.Serializable;

public class ContactWayModel implements Serializable {
    /**
     * 1电话/2微信/3qq/4邮箱/5固定电话
     */
    private int type;
    /**
     * 电话/微信/qq/邮箱/固定电话
     */
    private String number;
    /**
     * 1 是默认, 0 非默认
     */
    private int isDefault;

    public ContactWayModel(int type) {
        this.type = type;
    }

    public ContactWayModel(int type, int isDefault) {
        this.type = type;
        this.isDefault = isDefault;
    }

    public ContactWayModel(int type, String number) {
        this.type = type;
        this.number = number;
    }

    public ContactWayModel(int type, String number, int isDefault) {
        this.type = type;
        this.number = number;
        this.isDefault = isDefault;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getInfo() {
        return number;
    }

    public void setInfo(String info) {
        this.number = info;
    }

    public int getIsDefault() {
        return isDefault;
    }

    public void setIsDefault(int isDefault) {
        this.isDefault = isDefault;
    }
}
